package javamodel;

import java.util.List;

/**
 * 会议.
 */
public class Meeting {
    private Room room; //会议所在房间
    private String meetingName; //会议名称
    private AVCompony avCompony; //设备提供商
    private List<Devices> devices; //当前会议所需设备
    private Schedular schedular; //会议组织者

    //1、非正常取消
    //2、正常结束
    public void release(){
        //通知room
        avCompony.returnDevices(devices);
    }

    public void assign(){
        avCompony.rentDevices(this,devices);
    }
}
